Skip to content

Commit 3df9f9c

Browse files
committed
[CMake] Allow LLGL_OUTPUT_DIR to be overridden in CMakeLists.txt script (fixes #159).
1 parent b1add83 commit 3df9f9c

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
@@ -76,7 +76,7 @@ endif()
7676

7777
# === Build path ===
7878

79-
set(LLGL_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/build)
79+
set(LLGL_OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/build" CACHE PATH "Override binary output directory")
8080

8181
set( EXTERNAL_MODULE_DIR "${PROJECT_SOURCE_DIR}/cmake" )
8282
set( PROJECT_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/include" )

0 commit comments

Comments
 (0)