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 05b4639 commit ed0f715Copy full SHA for ed0f715
cmake/modules/shared/CompilerSettings.cmake
@@ -43,7 +43,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "WASI")
43
add_compile_definitions("SWT_NO_PIPES")
44
endif()
45
46
-file(STRINGS "../VERSION.txt" SWT_TESTING_LIBRARY_VERSION LIMIT_COUNT 1)
+file(STRINGS "${PROJECT_SOURCE_DIR}/VERSION.txt" SWT_TESTING_LIBRARY_VERSION LIMIT_COUNT 1)
47
if(SWT_TESTING_LIBRARY_VERSION)
48
message(STATUS "Swift Testing version: ${SWT_TESTING_LIBRARY_VERSION}")
49
add_compile_definitions("$<$<COMPILE_LANGUAGE:CXX>:SWT_TESTING_LIBRARY_VERSION=\"${SWT_TESTING_LIBRARY_VERSION}\">")
0 commit comments