We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49cd3f commit 4c74b22Copy full SHA for 4c74b22
example/example-lib/CMakeLists.txt
@@ -54,6 +54,10 @@ else()
54
message(STATUS "Building static version...")
55
endif()
56
57
+if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
58
+ set(CMAKE_INSTALL_PREFIX ${example-ios_SOURCE_DIR}/../example-app/example-lib CACHE PATH "Install path" FORCE)
59
+endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
60
+
61
# Executable
62
#add_executable (helloworld main.cpp)
63
@@ -64,6 +68,5 @@ endif()
64
68
set_xcode_property(example GCC_GENERATE_DEBUGGING_SYMBOLS YES "All")
65
69
66
70
# Installation
67
-set(CMAKE_INSTALL_PREFIX "${example-ios_SOURCE_DIR}/../example-app/example-lib")
71
install (TARGETS example DESTINATION lib)
72
install (FILES ${HEADERS} DESTINATION include)
0 commit comments