Skip to content

Commit 8e324ae

Browse files
authored
Merge pull request #268 from compnerd/out-of-tree
build: disable in-tree builds
2 parents eea8f84 + 99b1574 commit 8e324ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ else()
2121
endif()
2222
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
2323

24+
set(CMAKE_DISABLE_IN_SOURCE_BUILD YES)
25+
2426
option(BUILD_SHARED_LIBS "Build shared libraries by default" YES)
2527

2628
find_package(dispatch QUIET)

0 commit comments

Comments
 (0)