summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step9/MathFunctions
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2019-07-18 19:40:25 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-19 15:49:05 (GMT)
commit6f6a32a0f601688da24e1737509a0b6e1ed4f63f (patch)
treea8a6f89b0a8126172337f543ebaca43d8a0469c2 /Help/guide/tutorial/Step9/MathFunctions
parent6a35d630dce6e9da6115cc4acb3393ce62a017ad (diff)
downloadCMake-6f6a32a0f601688da24e1737509a0b6e1ed4f63f.zip
CMake-6f6a32a0f601688da24e1737509a0b6e1ed4f63f.tar.gz
CMake-6f6a32a0f601688da24e1737509a0b6e1ed4f63f.tar.bz2
Tutorial: Improve Step 9
* Move USE_MYMATH from configured header to target_compile_definitions
Diffstat (limited to 'Help/guide/tutorial/Step9/MathFunctions')
-rw-r--r--Help/guide/tutorial/Step9/MathFunctions/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/Help/guide/tutorial/Step9/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Step9/MathFunctions/CMakeLists.txt
index b40b464..50f0701 100644
--- a/Help/guide/tutorial/Step9/MathFunctions/CMakeLists.txt
+++ b/Help/guide/tutorial/Step9/MathFunctions/CMakeLists.txt
@@ -22,10 +22,6 @@ target_include_directories(MathFunctions
PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
)
-# use compile definitions to state if we have enabled USE_MYMATH
-# and that anything that links to use will get this define
-target_compile_definitions(MathFunctions INTERFACE "USE_MYMATH")
-
# install rules
install(TARGETS MathFunctions DESTINATION lib)
install(FILES MathFunctions.h DESTINATION include)