4
0
mirror of https://github.com/QuasarApp/pe-parse.git synced 2025-05-02 15:19:33 +00:00

Fix finding version file ()

This commit is contained in:
Eric Kilmer 2020-03-26 10:11:13 -04:00 committed by GitHub
parent 9d4000c520
commit 50ff34288a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}")