You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake Error at 3rdparty/newton-dynamics/sdk/dMath/CMakeLists.txt:37 (target_include_directories):
Cannot specify include directories for target "dMath" which is not built by
this project.
This is caused by this github action configuration
Which is because of this cmake configuration code in sdk/dMath/CMakeLists.txt
if (UNIX OR MINGW)
if(NEWTON_BUILD_SHARED_LIBS)
add_library(${projectName} SHARED ${CPP_SOURCE})
else(NEWTON_BUILD_SHARED_LIBS)
add_library(${projectName} STATIC ${CPP_SOURCE})
endif(NEWTON_BUILD_SHARED_LIBS)
endif (UNIX OR MINGW)
I can't think of any reason why if(UNIX OR MINGW) should be here. MSVC supports static and dynamic libraries the same as Unix-like environments.
The text was updated successfully, but these errors were encountered:
jonesmz
changed the title
Cannot specify include directories for target "dMath" which is not built by
Cannot specify include directories for target "dMath"
Aug 27, 2021
jonesmz
changed the title
Cannot specify include directories for target "dMath"
LLVM-Clang on Windows: Cannot specify include directories for target "dMath"
Aug 27, 2021
this is in 3.14
can you fix it and submit a patch or post het the changes?
also can you try 4.00? I think those issues had been addressed but other users on that build system,
This is caused by this github action configuration
Which is because of this cmake configuration code in sdk/dMath/CMakeLists.txt
I can't think of any reason why if(UNIX OR MINGW) should be here. MSVC supports static and dynamic libraries the same as Unix-like environments.
The text was updated successfully, but these errors were encountered: