Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR #150

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jmalbos
Copy link
Contributor

@jmalbos jmalbos commented Mar 23, 2022

This pull request modifies the CMakeLists.txt script to make possible the use of NEXUS as a git submodule in other projects.

@jmalbos jmalbos marked this pull request as draft March 31, 2022 17:00
add_executable(exe)
set_target_properties(exe PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
target_sources(exe PRIVATE ${CMAKE_SOURCE_DIR}/source/nexus.cc)
target_sources(exe PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/source/nexus.cc)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this change imply?

Sign up for free to 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.

2 participants