Skip to content

Commit f88e382

Browse files
authored
Merge pull request swiftlang#316 from aciidb0mb3r/set-libdir-path
[CMake] Set libdir path after including gnu
2 parents 4a9833d + 49e5b67 commit f88e382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ enable_testing()
1111
set(CMAKE_C_VISIBILITY_PRESET hidden)
1212
set(CMAKE_CXX_STANDARD 11)
1313

14-
set(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Path where the libraries should be installed")
1514
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
1615
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
1716
find_package(Threads REQUIRED)
@@ -23,6 +22,7 @@ include(CheckLibraryExists)
2322
include(CheckSymbolExists)
2423
include(GNUInstallDirs)
2524

25+
set(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Path where the libraries should be installed")
2626
set(WITH_BLOCKS_RUNTIME "" CACHE PATH "Path to blocks runtime")
2727

2828
include(DispatchAppleOptions)

0 commit comments

Comments
 (0)