diff options
author | Betsy McPhail <betsy.mcphail@kitware.com> | 2019-07-02 00:58:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-19 15:49:05 (GMT) |
commit | 49ce4d6ff4e70026ab1da6da91d7965ef61863ab (patch) | |
tree | d519e2a2f16f1ebc0ae447e5b98860403f42bc39 /Help/guide/tutorial/Step10/MathFunctions | |
parent | 82332f81bbb0609bf521d29c36b3ecf1566be892 (diff) | |
download | CMake-49ce4d6ff4e70026ab1da6da91d7965ef61863ab.zip CMake-49ce4d6ff4e70026ab1da6da91d7965ef61863ab.tar.gz CMake-49ce4d6ff4e70026ab1da6da91d7965ef61863ab.tar.bz2 |
Tutorial: Improve Step 2
* Fix typo in #include
* Remove CMakeLists file that users should create
* Clarify which files users are expected to create
* Highlight the importance of configuring TutorialConfig.h.in after
the MY_MATH option has been set
Diffstat (limited to 'Help/guide/tutorial/Step10/MathFunctions')
-rw-r--r-- | Help/guide/tutorial/Step10/MathFunctions/CMakeLists.txt | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Help/guide/tutorial/Step10/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Step10/MathFunctions/CMakeLists.txt index aafd090..0ef67f1 100644 --- a/Help/guide/tutorial/Step10/MathFunctions/CMakeLists.txt +++ b/Help/guide/tutorial/Step10/MathFunctions/CMakeLists.txt @@ -43,12 +43,6 @@ if(USE_MYMATH) POSITION_INDEPENDENT_CODE ${BUILD_SHARED_LIBS} ) - target_compile_definitions(MathFunctions PRIVATE "USE_MYMATH") - if(HAVE_LOG AND HAVE_EXP) - target_compile_definitions(SqrtLibrary - PRIVATE "HAVE_LOG" "HAVE_EXP") - endif() - target_link_libraries(MathFunctions PRIVATE SqrtLibrary) endif() |