File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
18
18
endif ()
19
19
20
20
# Offer the user the choice of overriding the installation directories
21
- set (INSTALL_LIB_DIR /usr/local/ lib CACHE PATH "Installation directory for libraries" )
22
- set (INSTALL_INCLUDE_DIR /usr/local/ include CACHE PATH "Installation directory for header files" )
21
+ set (INSTALL_LIB_DIR lib CACHE PATH "Installation directory for libraries" )
22
+ set (INSTALL_INCLUDE_DIR include CACHE PATH "Installation directory for header files" )
23
23
24
24
if (WIN32 AND NOT CYGWIN )
25
25
set (DEF_INSTALL_CMAKE_DIR CMake )
@@ -126,7 +126,7 @@ set(CONF_INCLUDE_DIRS "${PROJECT_SOURCE_DIR}" "${PROJECT_BINARY_DIR}")
126
126
configure_file (open_simulation_interface-config.cmake.in
127
127
"${PROJECT_BINARY_DIR} /${PROJECT_NAME} -config.cmake" @ONLY )
128
128
# ... for the install tree
129
- set (CONF_INCLUDE_DIRS ${INSTALL_INCLUDE_DIR} ${PROTOBUF_INCLUDE_DIR} )
129
+ set (CONF_INCLUDE_DIRS ${CMAKE_INSTALL_PREFIX} /${ INSTALL_INCLUDE_DIR} ${PROTOBUF_INCLUDE_DIR} )
130
130
configure_file (open_simulation_interface-config.cmake.in
131
131
"${PROJECT_BINARY_DIR}${CMAKE_FILES_DIRECTORY} /open_simulation_interface-config.cmake" @ONLY )
132
132
# ... for both
You can’t perform that action at this time.
0 commit comments