mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
CMake: Make sure we define flags variables for Distribution
This fixes a CMake error with the MSVC generator, but it's also generally good to have around.
This commit is contained in:
parent
896a8dbca5
commit
9ca4f19b90
@ -155,3 +155,11 @@ if(NOT MSVC)
|
|||||||
add_compile_options("-fvisibility=hidden")
|
add_compile_options("-fvisibility=hidden")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# These are flags for the custom configurations we add
|
||||||
|
# Distribution
|
||||||
|
set(CMAKE_C_FLAGS_DISTRIBUTION "")
|
||||||
|
set(CMAKE_CXX_FLAGS_DISTRIBUTION "")
|
||||||
|
set(CMAKE_SHARED_LINKER_FLAGS_DISTRIBUTION "")
|
||||||
|
set(CMAKE_MODULE_LINKER_FLAGS_DISTRIBUTION "")
|
||||||
|
set(CMAKE_EXE_LINKER_FLAGS_DISTRIBUTION "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user