Skip to content

Commit

Permalink
CMake: set LANG=C.UTF-8 env var before calling jsonschema :/
Browse files Browse the repository at this point in the history
I can not be bothered to set it each time i set up chroot.
  • Loading branch information
LebedevRI committed Nov 25, 2016
1 parent 4f02038 commit 450a5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/CMakeLists.txt
Expand Up @@ -108,7 +108,7 @@ install(FILES gdb_commands DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/darktable)
if(${VALIDATE_JSON})
add_custom_target(
validate_noiseprofiles_json ALL
COMMAND ${jsonschema_BIN} -i ${CMAKE_CURRENT_SOURCE_DIR}/noiseprofiles.json ${CMAKE_CURRENT_SOURCE_DIR}/noiseprofiles.schema
COMMAND ${CMAKE_COMMAND} -E env LANG=C.UTF-8 ${jsonschema_BIN} -i ${CMAKE_CURRENT_SOURCE_DIR}/noiseprofiles.json ${CMAKE_CURRENT_SOURCE_DIR}/noiseprofiles.schema
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/noiseprofiles.json ${CMAKE_CURRENT_SOURCE_DIR}/noiseprofiles.schema
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
COMMENT "Checking validity of noiseprofiles.json"
Expand Down

0 comments on commit 450a5da

Please sign in to comment.