CMAKE_SOURCE_DIR -> PROJECT_SOURCE_DIR
This commit is contained in:
parent
40461057f5
commit
d474c2597a
|
@ -70,7 +70,7 @@ set(GENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR} PARENT_SCOPE)
|
||||||
set(GENERATOR_COMMON_ARGS
|
set(GENERATOR_COMMON_ARGS
|
||||||
${PYTHON_EXECUTABLE}
|
${PYTHON_EXECUTABLE}
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/main.py
|
${CMAKE_CURRENT_SOURCE_DIR}/main.py
|
||||||
${CMAKE_SOURCE_DIR}/next.json
|
${PROJECT_SOURCE_DIR}/next.json
|
||||||
-t ${CMAKE_CURRENT_SOURCE_DIR}/templates
|
-t ${CMAKE_CURRENT_SOURCE_DIR}/templates
|
||||||
-o ${CMAKE_CURRENT_BINARY_DIR}
|
-o ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
PARENT_SCOPE
|
PARENT_SCOPE
|
||||||
|
|
Loading…
Reference in New Issue