Skip to content

Commit 118f3b8

Browse files
committed
Fixed Install dir issue on Linux
1 parent 37c303f commit 118f3b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ set ( CMAKE_Fortran_MODULE_DIRECTORY "${CMAKE_BINARY_DIR}/include" )
6363
# Most of this is probably 'wrong' for Windows/Cygwin
6464

6565
if ( ${CMAKE_SYSTEM_NAME} MATCHES "Linux" )
66-
include ( GNU_Install_Dirs ) # Standard CMake module
66+
include ( GNUInstallDirs ) # Standard CMake module
6767
elseif ( UNIX ) #Apple, BSD, solaris, other *NIX? Framework on Apple instead?
6868
set ( CMAKE_INSTALL_LIBDIR lib )
6969
set ( CMAKE_INSTALL_INCLUDEDIR include )
@@ -205,4 +205,4 @@ set ( ENABLE_BUILD_TREE_EXPORT FALSE CACHE BOOL
205205
"Add the ${PACKAGE_NAME} build tree to the CMake package registry?" )
206206
if ( ENABLE_BUILD_TREE_EXPORT )
207207
export ( PACKAGE ${PACKAGE_NAME} )
208-
endif ( ENABLE_BUILD_TREE_EXPORT )
208+
endif ( ENABLE_BUILD_TREE_EXPORT )

0 commit comments

Comments
 (0)