mirror of
https://github.com/QuasarApp/pe-parse.git
synced 2025-04-26 12:24:32 +00:00
Fix finding version file (#114)
This commit is contained in:
parent
9d4000c520
commit
50ff34288a
@ -3,7 +3,7 @@ project(pe-parser-library)
|
||||
|
||||
message(STATUS "VERSION file: ${CMAKE_SOURCE_DIR}/VERSION")
|
||||
|
||||
file(READ "${CMAKE_SOURCE_DIR}/VERSION" PEPARSE_VERSION)
|
||||
file(READ "${PROJECT_SOURCE_DIR}/../VERSION" PEPARSE_VERSION)
|
||||
string(STRIP "${PEPARSE_VERSION}" PEPARSE_VERSION)
|
||||
add_compile_definitions(PEPARSE_VERSION="${PEPARSE_VERSION}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user