From e10c76141b938e4521b6236feda024077d10848f Mon Sep 17 00:00:00 2001 From: terik23 Date: Sat, 28 Apr 2018 08:40:37 +0500 Subject: [PATCH] clean-up CMakeLists --- example/CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 4af855b..db3f464 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -1,7 +1,5 @@ include_directories(${CMAKE_SOURCE_DIR}/include) -set(SOURCE_EXAMPLE - ${CMAKE_SOURCE_DIR}/include/nameof.hpp - example.cpp) - -add_executable(${PROJECT_NAME}_example ${SOURCE_EXAMPLE}) +add_executable(${PROJECT_NAME}_example + ${CMAKE_SOURCE_DIR}/include/nameof.hpp + example.cpp)