We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b471f95 commit 49d39f3Copy full SHA for 49d39f3
qrenderdoc/CMakeLists.txt
@@ -71,7 +71,7 @@ ExternalProject_Add(custom_swig
71
URL ${RENDERDOC_SWIG_PACKAGE}
72
BUILD_IN_SOURCE 1
73
CONFIGURE_COMMAND ./autogen.sh > /dev/null 2>&1
74
- 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
75
BUILD_COMMAND $(MAKE) > /dev/null 2>&1
76
INSTALL_COMMAND $(MAKE) install > /dev/null 2>&1)
77
0 commit comments