CMAKE_SOURCE_DIR -> PROJECT_SOURCE_DIR

This commit is contained in:
Austin Eng 2017-08-14 16:38:41 -04:00 committed by Austin Eng
parent 40461057f5
commit d474c2597a
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ set(GENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR} PARENT_SCOPE)
set(GENERATOR_COMMON_ARGS
${PYTHON_EXECUTABLE}
${CMAKE_CURRENT_SOURCE_DIR}/main.py
${CMAKE_SOURCE_DIR}/next.json
${PROJECT_SOURCE_DIR}/next.json
-t ${CMAKE_CURRENT_SOURCE_DIR}/templates
-o ${CMAKE_CURRENT_BINARY_DIR}
PARENT_SCOPE