Skip to content

Commit

Permalink
Fixes related to NVIDIAGameWorks#39
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeard4 committed Apr 25, 2019
1 parent 4050bbf commit b8c8d03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions externals/cmakemodules/linux/LinuxRegular.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SET(CMAKE_CROSSCOMPILING FALSE)
SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_VERSION 1)
SET(CMAKE_SYSROOT ${LINUX_ROOT})
SET(CMAKE_LIBRARY_ARCHITECTURE x86_64-linux-gnu)
1 change: 1 addition & 0 deletions physx/buildtools/cmake_generate_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ def getPlatformCMakeParams(self):
elif self.targetPlatform == 'linux':
outString = outString + ' -DTARGET_BUILD_PLATFORM=linux'
outString = outString + ' -DPX_OUTPUT_ARCH=x86'
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + os.environ['PM_CMakeModules_PATH'] + '/linux/LinuxRegular.cmake'
if self.compiler == 'clang-crosscompile':
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
Expand Down

0 comments on commit b8c8d03

Please sign in to comment.