From ce9e9790d5db0e813a2d55c24dfd324dbea14f56 Mon Sep 17 00:00:00 2001 From: vlj Date: Fri, 11 Apr 2014 01:08:29 +0200 Subject: [PATCH] Improve VS generation in cmake. --- sources.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources.cmake b/sources.cmake index f9adc2a6c..141690fe6 100644 --- a/sources.cmake +++ b/sources.cmake @@ -1,2 +1,2 @@ -file(GLOB_RECURSE STK_SOURCES "src/*.cpp") -file(GLOB_RECURSE STK_HEADERS "src/*.hpp") \ No newline at end of file +file(GLOB_RECURSE STK_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.cpp") +file(GLOB_RECURSE STK_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.hpp") \ No newline at end of file