File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
17
18
- # Operating system (build VM template)
19
- # os: Visual Studio 2017
20
-
21
18
environment :
22
19
matrix :
23
20
- JOB : Visual Studio 2015
@@ -40,6 +37,5 @@ build_script:
40
37
-DBUILD_LIBHDFSPP=OFF
41
38
-DBUILD_TOOLS=OFF
42
39
-DBUILD_JAVA=OFF
43
- - set TZDIR=C:/projects/orc/build/tzdata_ep-prefix/src/tzdata_ep/share/zoneinfo
44
40
- cmake --build . --config %CONFIGURATION%
45
41
- ctest -VV -C %CONFIGURATION%
Original file line number Diff line number Diff line change @@ -65,3 +65,11 @@ target_link_libraries (create-test-files
65
65
)
66
66
67
67
add_test (NAME orc-test COMMAND orc-test )
68
+
69
+ if (WIN32 )
70
+ set_property (
71
+ TEST orc-test
72
+ PROPERTY
73
+ ENVIRONMENT "TZDIR=${TZDATA_DIR} "
74
+ )
75
+ endif ()
Original file line number Diff line number Diff line change @@ -175,6 +175,8 @@ if (WIN32)
175
175
CONFIGURE_COMMAND ""
176
176
BUILD_COMMAND ""
177
177
INSTALL_COMMAND "" )
178
+ ExternalProject_Get_Property (tzdata_ep SOURCE_DIR )
179
+ set (TZDATA_DIR ${SOURCE_DIR} /share/zoneinfo )
178
180
endif ()
179
181
180
182
# ----------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments