mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
CMake: Disable searching macOS frameworks when using THIRDPARTY_DIRECTORY
This commit is contained in:
parent
bc152f665c
commit
cfedd71093
@ -20,6 +20,9 @@ if(THIRDPARTY_DIRECTORY)
|
|||||||
if(APPLE)
|
if(APPLE)
|
||||||
set(_package_dir "${THIRDPARTY_DIRECTORY}/darwin-libs-a")
|
set(_package_dir "${THIRDPARTY_DIRECTORY}/darwin-libs-a")
|
||||||
|
|
||||||
|
# Make sure thirdparty has the first shot, not system frameworks
|
||||||
|
set(CMAKE_FIND_FRAMEWORK LAST)
|
||||||
|
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||||
set(_package_dir "${THIRDPARTY_DIRECTORY}/win-libs-vc14-x64")
|
set(_package_dir "${THIRDPARTY_DIRECTORY}/win-libs-vc14-x64")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user