build: Set CMAKE_INSTALL_PREFIX (for deployment)
Run 'cmake --build <path_to_build> --target install' to create a self- contained executable sparkd in the 'install' dir at the root of the repo
This commit is contained in:
1 parent
4561560b46
commit
866cf33cd4
1 file changed
+1
@@ -48,6 +48,7 @@ else()
|
||||
# make sparkd look for libspark.so in its directory
|
||||
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
|
||||
set(CMAKE_INSTALL_RPATH ".")
|
||||
set(CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/install/${CMAKE_BUILD_TYPE}/sparkd")
|
||||
|
||||
# flags
|
||||
set(
|
||||
|
||||
Reference in new issue
Block a user