equal
deleted
inserted
replaced
12 hwpacksmounter.c |
12 hwpacksmounter.c |
13 ) |
13 ) |
14 |
14 |
15 #compiles and links actual library |
15 #compiles and links actual library |
16 add_library (physlayer ${PHYSLAYER_SRCS}) |
16 add_library (physlayer ${PHYSLAYER_SRCS}) |
17 #TODO: find good VERSION and SOVERSION values |
17 set_target_properties(physlayer PROPERTIES |
|
18 VERSION 1.0 |
|
19 SOVERSION 1.0) |
18 target_link_libraries(physlayer ${SDL2_LIBRARY} lua physfs) |
20 target_link_libraries(physlayer ${SDL2_LIBRARY} lua physfs) |
19 install(TARGETS physlayer RUNTIME DESTINATION ${target_binary_install_dir} |
21 install(TARGETS physlayer RUNTIME DESTINATION ${target_binary_install_dir} |
20 LIBRARY DESTINATION ${target_library_install_dir} |
22 LIBRARY DESTINATION ${target_library_install_dir} |
21 ARCHIVE DESTINATION ${target_library_install_dir}) |
23 ARCHIVE DESTINATION ${target_library_install_dir}) |
22 get_target_property(physlayer_fullpath physlayer LOCATION) |
24 get_target_property(physlayer_fullpath physlayer LOCATION) |