mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Attempt to fix weird SWIG compile error with lacking relocatable flag
* Although we're only making binaries so this doesn't seem like it should be necessary.
This commit is contained in:
@@ -71,7 +71,7 @@ ExternalProject_Add(custom_swig
|
||||
URL ${RENDERDOC_SWIG_PACKAGE}
|
||||
BUILD_IN_SOURCE 1
|
||||
CONFIGURE_COMMAND ./autogen.sh > /dev/null 2>&1
|
||||
COMMAND CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} ./configure --with-pcre=yes --prefix=${CMAKE_BINARY_DIR} > /dev/null
|
||||
COMMAND CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} CFLAGS=-fPIC CXXFLAGS=-fPIC ./configure --with-pcre=yes --prefix=${CMAKE_BINARY_DIR} > /dev/null
|
||||
BUILD_COMMAND $(MAKE) > /dev/null 2>&1
|
||||
INSTALL_COMMAND $(MAKE) install > /dev/null 2>&1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user