/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2016-08-03 13:26:22 UTC
  • Revision ID: csa@suren.me-20160803132622-spipuykpqkt21nnq
Fix cmake configuration while building without pcitool

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
        WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
180
180
    )
181
181
    add_dependencies(pcilib build)
182
 
    add_dependencies(pci build)
 
182
    if (NOT DISABLE_PCITOOL)
 
183
       add_dependencies(pci build)
 
184
    endif (NOT DISABLE_PCITOOL)
183
185
 
184
186
        # We need to generate build.h for source releases
185
187
    add_custom_target(dist_clean make clean -C driver