Skip to content
Snippets Groups Projects
Commit 2d87886a authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

Fix cross compiling the cmp_tool to windows in Ubuntu/Debian

Many thanks to Jorge for the fix!
parent 805820a1
Branches
Tags
1 merge request!22Fix the cross-compilation to windows on Ubuntu/Debian
......@@ -15,8 +15,11 @@ cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
[cmake]
[built-in options]
# for clock_gettime function
c_link_args = ['-lwinpthread']
[cmake]
CMAKE_BUILD_WITH_INSTALL_RPATH = 'ON'
CMAKE_FIND_ROOT_PATH_MODE_PROGRAM = 'NEVER'
CMAKE_FIND_ROOT_PATH_MODE_LIBRARY = 'ONLY'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment