cmake: Use project specific source directory instead of top level source tree

Signed-off-by: 's avatarStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
parent f5ba27fa
......@@ -3,7 +3,7 @@
cmake_minimum_required (VERSION 2.8.12)
project (ZeroMQ)
list (INSERT CMAKE_MODULE_PATH 0 "${CMAKE_SOURCE_DIR}")
list (INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_SOURCE_DIR}")
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=gnu++11" COMPILER_SUPPORTS_CXX11)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment