Skip to content

Commit 81bef6d

Browse files
Merge pull request #929 from Devsh-Graphics-Programming/master
Get stuff from Master
2 parents ff4bfc0 + 1270892 commit 81bef6d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

CMakeLists.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,23 @@ NBL_POLICY(CMP0112 NEW) # https://cmake.org/cmake/help/latest/policy/CMP0112.htm
2020
NBL_POLICY(CMP0141 NEW) # https://cmake.org/cmake/help/latest/policy/CMP0141.html#policy:CMP0141
2121
NBL_POLICY(CMP0118 NEW) # https://cmake.org/cmake/help/latest/policy/CMP0118.html#policy:CMP0118
2222

23+
set(CMAKE_CXX_SCAN_FOR_MODULES OFF) # https://cmake.org/cmake/help/latest/prop_tgt/CXX_SCAN_FOR_MODULES.html#prop_tgt:CXX_SCAN_FOR_MODULES
24+
2325
set(NBL_BUILD_ANDROID OFF)
2426

2527
include(ExternalProject)
2628
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/toolchains/android/build.cmake)
2729

28-
include(GNUInstallDirs)
29-
include(CMakePackageConfigHelpers)
30-
3130
project(Nabla
3231
VERSION 0.7.2.0
3332
HOMEPAGE_URL "https://www.devsh.eu/nabla"
3433
LANGUAGES CXX C
3534
)
3635
enable_language(C CXX ASM ASM_NASM)
3736

37+
include(GNUInstallDirs)
38+
include(CMakePackageConfigHelpers)
39+
3840
if(MSVC)
3941
enable_language(ASM_MASM)
4042
endif()
@@ -316,4 +318,4 @@ if(NBL_ENABLE_CONFIG_INSTALL)
316318
endif()
317319
endif()
318320

319-
NBL_ADJUST_FOLDERS(nabla)
321+
NBL_ADJUST_FOLDERS(nabla)

0 commit comments

Comments
 (0)