mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
CMake: Disable in-source builds.
This commit is contained in:
parent
43e005ad05
commit
0e45b3288e
@ -1,6 +1,8 @@
|
||||
# We require 2.8.4 because earlier releases had a bug
|
||||
# with invalid HEADER_FILE_ONLY behavior in MSVC 2010.
|
||||
cmake_minimum_required(VERSION 2.8.4)
|
||||
set(CMAKE_DISABLE_SOURCE_CHANGES ON) # Must go before project() below
|
||||
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON) # Must go before project() below
|
||||
project(Panda3D)
|
||||
enable_testing()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user