File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -42,23 +42,10 @@ if(YSTDLIB_CPP_IS_TOP_LEVEL)
4242 # installed, this file is not necessary.
4343 include (build /deps/settings.cmake OPTIONAL )
4444
45- # Use ystdlib-cpp's own path since there's no parent project.
46- # Note: the ending slash is needed, otherwise it gets appended to relative paths and make them
47- # into root paths, which is incorrect.
48- string (LENGTH "${CMAKE_CURRENT_LIST_DIR} /" YSTDLIB_CPP_PROJECT_SOURCE_PATH_SIZE)
49-
5045 # If previously undefined, `BUILD_TESTING` will be set to ON.
5146 include (CTest)
5247endif ()
5348
54- if (DEFINED YSTDLIB_CPP_PROJECT_SOURCE_PATH_SIZE)
55- # Macro providing the length of the absolute source directory path of the project using
56- # ystdlib-cpp so we can output file name information with relative (rather than absolute) paths.
57- add_definitions (
58- "-DYSTDLIB_CPP_PROJECT_SOURCE_PATH_SIZE=${YSTDLIB_CPP_PROJECT_SOURCE_PATH_SIZE} "
59- )
60- endif ()
61-
6249if (BUILD_TESTING AND YSTDLIB_CPP_BUILD_TESTING)
6350 set (YSTDLIB_CPP_ENABLE_TESTS ON )
6451endif ()
You can’t perform that action at this time.
0 commit comments