Skip to content

Commit

Permalink
FileParse_Branch flag moved to the top CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
vidanovic committed Oct 29, 2024
1 parent 8c20d2c commit 2c61d88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,7 @@ if(BUILD_BSDFXMLParser_Tests)
# Add the test with the specified arguments
add_test(NAME BSDFXMLParser-test
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/BSDFXMLParser-test --gtest_catch_exceptions=0)
endif()
endif()

# Setting variable for parent projects so it can be checked if same version is used
set_property(TARGET ${LIB_NAME} PROPERTY FileParse_Branch ${FileParse_Branch})
3 changes: 0 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ add_library( ${LIB_NAME}

target_link_libraries(${LIB_NAME} PRIVATE FileParse)

# Setting variable for parent projects so it can be checked if same version is used
set_property(TARGET ${LIB_NAME} PROPERTY FileParse_Branch ${FileParse_Branch})

if(NOT "${fPIC}")
set(fPIC ON)
endif()
Expand Down

0 comments on commit 2c61d88

Please sign in to comment.