Changeset e111493 in OpenModelica


Ignore:
Timestamp:
2020-10-21T14:04:16+02:00 (3 years ago)
Author:
Mahder Gebremedhin <mahder.gebremedhin@…>
Children:
e125477
Parents:
f197333
git-author:
Mahder Gebremedhin <mahder.gebremedhin@…> (09/04/20 12:12:51)
git-committer:
Mahder Gebremedhin <mahder.gebremedhin@…> (10/21/20 14:04:16)
Message:

[cmake] Fix the directory where file is expected.

Location:
OMCompiler/Compiler/boot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/boot/.cmake/dep_scanner.cpp

    radd041b re111493  
    4747    std::ifstream pac_list_s(file_list_file);
    4848    if (!pac_list_s.is_open()) {
    49         std::cout <<" Failed to open " << depends_files_dir << std::endl;
     49        std::cout <<" Failed to open " << file_list_file << std::endl;
    5050        return 1;
    5151    }
  • OMCompiler/Compiler/boot/CMakeLists.txt

    radd041b re111493  
    124124add_custom_command(
    125125                DEPENDS ${OMC_MM_INTERFACE_FILES}
    126                 COMMAND $<TARGET_FILE:dep_scanner> ${CMAKE_CURRENT_SOURCE_DIR}/package_list.txt ${CMAKE_CURRENT_BINARY_DIR}
     126                COMMAND $<TARGET_FILE:dep_scanner> ${CMAKE_CURRENT_SOURCE_DIR}/.cmake/package_list.txt ${CMAKE_CURRENT_BINARY_DIR}
    127127                COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/dep_scan.stamp
    128128                OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/dep_scan.stamp
Note: See TracChangeset for help on using the changeset viewer.