Skip to content

Commit

Permalink
Merge pull request #6 from matt-chan/master
Browse files Browse the repository at this point in the history
fix fedora/debian libdir
  • Loading branch information
sunqm authored Jul 18, 2016
2 parents a0014ef + 871913b commit 01733f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set(cint_VERSION "2.8")
set(CMAKE_BUILD_TYPE RELWITHDEBINFO)
set(CMAKE_VERBOSE_MAKEFILE OFF)

include(GNUInstallDirs)
#set(CMAKE_INCLUDE_CURRENT_DIR ON)

find_package(BLAS REQUIRED)
Expand Down Expand Up @@ -56,9 +57,8 @@ set_target_properties(cint PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
target_link_libraries(cint ${BLAS_LIBRARIES})

install(TARGETS cint DESTINATION lib)
install(FILES ${PROJECT_BINARY_DIR}/include/cint.h DESTINATION include)

install(TARGETS cint DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
install(FILES ${PROJECT_BINARY_DIR}/include/cint.h DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR})

if(BUILD_SHARED_LIBS AND ENABLE_EXAMPLE)
enable_language(Fortran)
Expand Down

0 comments on commit 01733f8

Please sign in to comment.