BUG: fix build in place source directory
This commit is contained in:
parent
6c9d3df4d7
commit
c51cb239a4
|
@ -21,7 +21,7 @@ clean: ${SUBDIR_CLEAN}
|
|||
rm -f ${SRC_OBJ} ${EXECUTABLES}
|
||||
|
||||
CMakeTargets.make: ${CMAKE} ${srcdir}/CMakeLists.txt
|
||||
${CMAKE} ${srcdir}/CMakeLists.txt -S${srcdir} -H${topdir} -B${CMAKE_CONFIG_DIR}
|
||||
${CMAKE} ${srcdir}/CMakeLists.txt -S${currentdir} -H${topdir} -B${CMAKE_CONFIG_DIR}
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# rules for the normal library
|
||||
|
|
|
@ -27,6 +27,9 @@ USER_CXXFLAGS = @CXXFLAGS@
|
|||
# This is the path to the top of the Source tree
|
||||
topdir = @fullSrcDir@
|
||||
|
||||
# This is the directory that contains the source for the CMakeLists.txt file
|
||||
currentdir = `cd ${srcdir}; pwd`
|
||||
|
||||
# This is the directory configure was run in
|
||||
# where the binaries will be placed
|
||||
CMAKE_CONFIG_DIR = @CMAKE_CONFIG_DIR@
|
||||
|
|
Loading…
Reference in New Issue