Fix finding ChangeLog when building

Keep the first optional argument of get_version.sh as "--strict" and
make the second the PROJECT_SOURCE_DIR plus trailing slash from
CMakeLists.txt
This commit is contained in:
Chris Mayo
2017-06-26 19:23:58 +01:00
parent afadf3ea3f
commit 7a350a5e83
3 changed files with 4 additions and 4 deletions

View File

@@ -217,7 +217,7 @@ else()
SET(ASAN_L_FLAGS "")
endif()
add_custom_target( version ALL "${PROJECT_SOURCE_DIR}/get_version.sh" "\"${PROJECT_SOURCE_DIR}\"" )
add_custom_target( version ALL "${PROJECT_SOURCE_DIR}/get_version.sh" -- "\"${PROJECT_SOURCE_DIR}/\"" )
link_directories( ${X11_LIBRARY_DIRS}
${PANGOCAIRO_LIBRARY_DIRS}