Skip to content

Commit

Permalink
Fix include CMAKE_INSTALL_INCLUDEDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
WangWeiLin-MV authored and eliaskosunen committed May 15, 2024
1 parent 003a849 commit e149892
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ endif()

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

include(GNUInstallDirs)

include(cmake/util.cmake)
include(cmake/options.cmake)
include(cmake/buildflags.cmake)
Expand Down
1 change: 0 additions & 1 deletion cmake/install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ if (NOT SCN_INSTALL)
return()
endif()

include(GNUInstallDirs)
set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/scn)

set(targets "scn")
Expand Down

0 comments on commit e149892

Please sign in to comment.