Changeset View
Changeset View
Standalone View
Standalone View
src/lib/astro/CMakeLists.txt
Context not available. | |||||
49 | # choose the correct target install library path | 49 | # choose the correct target install library path | ||
---|---|---|---|---|---|
50 | if(WIN32) | 50 | if(WIN32) | ||
51 | INSTALL(TARGETS astro RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX} ARCHIVE DESTINATION lib) | 51 | INSTALL(TARGETS astro RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX} ARCHIVE DESTINATION lib) | ||
52 | elseif(APPLE) | 52 | elseif(APPLE AND APPLE_STANDALONE_BUNDLE) | ||
53 | INSTALL(TARGETS astro LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/lib) | 53 | INSTALL(TARGETS astro LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/lib) | ||
54 | else() | 54 | else() | ||
55 | install(TARGETS astro | 55 | install(TARGETS astro | ||
Context not available. | |||||
60 | 60 | | |||
61 | ########### install headers & cmake config files ############### | 61 | ########### install headers & cmake config files ############### | ||
62 | 62 | | |||
63 | if (WIN32 OR APPLE) | 63 | if (WIN32 OR APPLE_STANDALONE_BUNDLE) | ||
64 | # TODO: find how to install & deploy library, headers and config files as bundle for development | 64 | # TODO: find how to install & deploy library, headers and config files as bundle for development | ||
65 | return() | 65 | return() | ||
66 | endif() | 66 | endif() | ||
Context not available. |