Skip to content

Commit

Permalink
🔨 Set global property USE_FOLDERS only if QOlm is main project
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierLDff committed Aug 29, 2021
1 parent b584c4e commit ab92c69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ set(QOLM_VERSION ${QOLM_VERSION_MAJOR}.${QOLM_VERSION_MINOR}.${QOLM_VERSION_PATC
# ───── PROJECT ─────

project(${QOLM_PROJECT} VERSION ${QOLM_VERSION} LANGUAGES CXX)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)

if(QOLM_MAIN_PROJECT)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
endif()

# ───── CONFIG ─────

Expand Down

0 comments on commit ab92c69

Please sign in to comment.