Skip to content

Commit 09a2d24

Browse files
committed
Fixing Cygwin related issues (Missing includes + escape characters)
1 parent b05a0da commit 09a2d24

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

libvtrutil/CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ add_custom_target(version ALL
3636

3737
add_custom_command(OUTPUT ${VTR_VERSION_FILE_OUT}
3838
COMMAND ${CMAKE_COMMAND}
39-
-D IN_FILE=${VTR_VERSION_FILE_IN}
40-
-D OUT_FILE=${VTR_VERSION_FILE_OUT}
41-
-D VTR_VERSION_MAJOR=${VTR_VERSION_MAJOR}
42-
-D VTR_VERSION_MINOR=${VTR_VERSION_MINOR}
43-
-D VTR_VERSION_PATCH=${VTR_VERSION_PATCH}
44-
-D VTR_VERSION_PRERELEASE=${VTR_VERSION_PRERELEASE}
45-
-D VTR_COMPILER_INFO=${VTR_COMPILER_INFO}
39+
-D IN_FILE="${VTR_VERSION_FILE_IN}"
40+
-D OUT_FILE="${VTR_VERSION_FILE_OUT}"
41+
-D VTR_VERSION_MAJOR="${VTR_VERSION_MAJOR}"
42+
-D VTR_VERSION_MINOR="${VTR_VERSION_MINOR}"
43+
-D VTR_VERSION_PATCH="${VTR_VERSION_PATCH}"
44+
-D VTR_VERSION_PRERELEASE="${VTR_VERSION_PRERELEASE}"
45+
-D VTR_COMPILER_INFO="${VTR_COMPILER_INFO}"
4646
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules/configure_version.cmake
4747
MAIN_DEPENDENCY ${VTR_VERSION_FILE_IN}
4848
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

libvtrutil/src/vtr_util.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#include <vector>
55
#include <string>
6+
#include <cstdarg>
67

78
namespace vtr {
89

vpr/SRC/util/vpr_error.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define VPR_ERROR_H
33

44
#include "vtr_error.h"
5+
#include <cstdarg>
56

67
enum e_vpr_error {
78
VPR_ERROR_UNKNOWN = 0,

0 commit comments

Comments
 (0)