File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,8 @@ cmake_minimum_required(VERSION 3.16)
22project (workspace)
33
44# Set library name
5- set (LIB_NAME "workspace" )
5+ set (LIB_NAME "workspace" )
66set (LIB_HEADER "include/workspace/" )
77
8- if (UNIX AND NOT APPLE ) # unix
9- set (INSTALL_PREFIX "/usr/local" )
10- set (INSTALL_INCLUDEDIR "${INSTALL_PREFIX} /include" )
11- elseif (APPLE ) # mac
12- set (INSTALL_PREFIX "/usr/local" )
13- set (INSTALL_INCLUDEDIR "${INSTALL_PREFIX} /include" )
14- elseif (WIN32 ) # win
15- set (INSTALL_PREFIX "C:/Program Files" )
16- set (INSTALL_INCLUDEDIR "${INSTALL_PREFIX} /workspace/include" )
17- endif ()
18-
19-
208# Set library installation path
21- install (DIRECTORY ${LIB_HEADER} DESTINATION ${INSTALL_INCLUDEDIR} / ${ LIB_NAME} )
9+ install (DIRECTORY ${LIB_HEADER} DESTINATION ${LIB_NAME} )
You can’t perform that action at this time.
0 commit comments