aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2018-06-18 14:53:59 +0200
committerPiotr Krysik <pkrysik@elka.pw.edu.pl>2018-06-18 15:13:13 +0200
commitc711e97af1ea29179c04d8bbbead523c3c2421f4 (patch)
tree4e33cfe5458f0b7f81a441cd07dec0383665a370 /lib/CMakeLists.txt
parent9b5519db84548040a2bda7a8939c1f894843f879 (diff)
Separating libosmogsm from the rest
Diffstat (limited to 'lib/CMakeLists.txt')
-rw-r--r--lib/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 518edc4..5fa9da4 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -88,15 +88,13 @@ if(WIN32)
list (APPEND grgsm_link_libraries ws2_32)
endif()
-if(LIBOSMOCORE_FOUND AND LIBOSMOCODEC_FOUND)
- list (APPEND grgsm_link_libraries ${LIBOSMOCORE_LIBRARIES} ${LIBOSMOCODEC_LIBRARIES})
+if(LIBOSMOCORE_FOUND AND LIBOSMOCODEC_FOUND AND LIBOSMOGSM_FOUND)
+ list (APPEND grgsm_link_libraries ${LIBOSMOCORE_LIBRARIES} ${LIBOSMOCODEC_LIBRARIES} ${LIBOSMOGSM_LIBRARY})
if(LIBOSMOCODING_FOUND)
list (APPEND grgsm_link_libraries ${LIBOSMOCODING_LIBRARIES})
endif()
endif()
-
-
add_library(grgsm SHARED ${grgsm_sources})
target_link_libraries(grgsm ${grgsm_link_libraries}
# libraries required by plotting.h - have troubles to be installed by pybombs