This repository was archived by the owner on Feb 16, 2023. It is now read-only.
File tree 3 files changed +4
-14
lines changed
3 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ configure_file(
32
32
33
33
install (FILES ${PROJECT_BINARY_DIR} /libmsr-config.cmake DESTINATION
34
34
"${CMAKE_INSTALL_PREFIX} /share/cmake/libmsr" )
35
- install (EXPORT libmsr-morita DESTINATION
35
+ install (EXPORT libmsr-libs DESTINATION
36
36
"${CMAKE_INSTALL_PREFIX} /share/cmake/libmsr" )
37
37
38
38
add_subdirectory (src)
Original file line number Diff line number Diff line change @@ -11,18 +11,8 @@ if (NOT libmsr_CONFIG_LOADED)
11
11
12
12
#Includes needed to use libmsr
13
13
set (libmsr_INCLUDE_PATH ${libmsr_INCLUDE_DIR} )
14
- set (libmsr_LIB_PATH @{libmsr_LIB_DIR})
15
- #Whether the library was bulit with MPI
16
- set (libmsr_HAVE_MPI @LIBMSR_HAVE_MPI@)
17
- set (libmsr_INSTALL_PREFIX @CMAKE_INSTALL_PREFIX @)
18
- set (libmsr_INCLUDE_DIR ${libmsr_INSTALL_PREFIX} /include )
19
- set (libmsr_LIB_DIR ${libmsr_INSTALL_PREFIX} /lib)
14
+ set (libmsr_LIB_PATH ${libmsr_LIB_DIR} )
20
15
21
- #Includes needed to use libmsr
22
- set (libmsr_INCLUDE_PATH ${libmsr_INCLUDE_DIR} )
23
- set (libmsr_LIB_PATH @{libmsr_LIB_DIR})
24
- #Whether the library was bulit with MPI
25
- set (libmsr_HAVE_MPI @LIBMSR_HAVE_MPI@)
26
16
#Library targets imported from file
27
- include (${libmsr_CMAKE_DIR} /libmsr-libs.cmake)
17
+ include (${libmsr_INSTALL_PREFIX} /share/cmake/libmsr /libmsr-libs.cmake)
28
18
endif ()
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ set (CMAKE_SHARED_LINKER_FLAGS "-lm")
32
32
# Install target should install the two library targets above.
33
33
#
34
34
install (TARGETS msr msr-static DESTINATION
35
- "${CMAKE_INSTALL_PREFIX} /share/cmake/libmsr " EXPORT libmsr-libs)
35
+ "${CMAKE_INSTALL_PREFIX} /lib " EXPORT libmsr-libs)
36
36
37
37
# Headers are in ../include
38
38
include_directories (${PROJECT_SOURCE_DIR} /include )
You can’t perform that action at this time.
0 commit comments