File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,10 +106,8 @@ target_include_directories(
106
106
${PROJECT_SOURCE_DIR} /CommonData
107
107
${PROJECT_SOURCE_DIR} /QMLComponents
108
108
# ReadStat
109
- $<$<PLATFORM_ID:Windows>:${RTOOLS_LIBREADSTAT_H} >
110
109
${LIBREADSTAT_INCLUDE_DIRS}
111
110
# librdata
112
- $<$<PLATFORM_ID:Windows>:${RTOOLS_LIBRDATA_H} >
113
111
${LIBRDATA_INCLUDE_DIRS}
114
112
# JSONCPP
115
113
$<$<PLATFORM_ID:Linux>:${_PKGCONFIG_LIB_JSONCPP_INCLUDEDIR} >
Original file line number Diff line number Diff line change @@ -286,7 +286,8 @@ if(WIN32)
286
286
287
287
if (EXISTS ${RTOOLS_LIBREADSTAT_H} )
288
288
message (CHECK_PASS "found" )
289
- message (STATUS " ${RTOOLS_LIBREADSTAT_H} " )
289
+ message (STATUS "Now copy ${RTOOLS_LIBREADSTAT_H} to source directory." )
290
+ configure_file ("${RTOOLS_LIBREADSTAT_H} " "${CMAKE_SOURCE_DIR} /Desktop/data/importers/readstat/readstat.h" COPYONLY )
290
291
else ()
291
292
message (CHECK_FAIL "not found" )
292
293
message (
@@ -341,7 +342,8 @@ if(WIN32)
341
342
342
343
if (EXISTS ${RTOOLS_LIBRDATA_H} )
343
344
message (CHECK_PASS "found" )
344
- message (STATUS " ${RTOOLS_LIBRDATA_H} " )
345
+ message (STATUS "Now copy ${RTOOLS_LIBRDATA_H} to source directory" )
346
+ configure_file ("${RTOOLS_LIBRDATA_H} " "${CMAKE_SOURCE_DIR} /Desktop/data/importers/rdata/rdata.h" COPYONLY )
345
347
else ()
346
348
message (CHECK_FAIL "not found" )
347
349
message (
You can’t perform that action at this time.
0 commit comments