diff --git a/nc_cxx.cmake b/nc_cxx.cmake index b41d1a7..f91b481 100644 --- a/nc_cxx.cmake +++ b/nc_cxx.cmake @@ -47,7 +47,7 @@ if (NOT DEFINED __nc_cxx_stdcxxfs) try_compile( __nc_cxx_stdcxxfs ${CMAKE_CURRENT_BINARY_DIR} SOURCES - ${CMAKE_CURRENT_SOURCE_DIR}/cmake/nc_cxx_stdcxxfs.cpp + ${NC_CMAKE_BASE}/nc_cxx_stdcxxfs.cpp LINK_LIBRARIES ${lib})