Skip to content

Update cmake - #4

Open
oliverbunting wants to merge 1 commit into
OpenTimer:masterfrom
oliverbunting:improve-cmake-installation
Open

Update cmake#4
oliverbunting wants to merge 1 commit into
OpenTimer:masterfrom
oliverbunting:improve-cmake-installation

Conversation

@oliverbunting

Copy link
Copy Markdown

Extends the cmake file for easier inclusion in other-projects. The PR supports both embedded:

add_subdirectory(Parser-SPEF)
target_link_library(my_targetPRIVATEParser-SPEF)

or find_package

find_package(Parser-SPEF3.9REQUIRED)
target_link_library(my_targetPRIVATEParser-SPEF::Parser-SPEF)

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@oliverbunting