mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Enable including version.cmake from any directory.
This commit is contained in:
parent
ac031e64d6
commit
9ca27bf7cc
@ -1,8 +1,8 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
message("Parsing public/common/TracyVersion.hpp file")
|
||||
message("Parsing ${CMAKE_CURRENT_LIST_DIR}/public/common/TracyVersion.hpp file")
|
||||
|
||||
file(READ "public/common/TracyVersion.hpp" version)
|
||||
file(READ "${CMAKE_CURRENT_LIST_DIR}/public/common/TracyVersion.hpp" version)
|
||||
|
||||
# Note: This looks for a specific pattern in TracyVersion.hpp, if it changes
|
||||
# this needs updating.
|
||||
|
Loading…
Reference in New Issue
Block a user